package com.abss.vote.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class Comment {


    private Integer ID;  //评论id

    private String  USER_ID;//评论用户id

    private String NICKNAME;//评论用户名

    private String HEAD_IMG_URL;//评论头像地址

    private String  CONENT;//评论内容

    @JsonFormat( timezone="GMT+8", pattern="yyyy年MM月dd日 HH:mm:ss")
    private Date TIME;//评论时间

    private Integer WORK_ID;//评论作品id

    private Integer PARENT_ID;//一级评论的id

    private Integer LEVEL;//评论级别    1  一级评论     2   二级评论（不管回复什么都是二级）

    private Integer STATUS;//状态   0 未删除       1删除

    private String  BE_USER_ID;//回复用户id

    private String BE_NICKNAME;//回复用户名

    private String BE_HEAD_IMG_URL;//回复头像地址

    private List<Comment> child;  //子评论列表

    private String WORK_NAME;//作品名称

    public String getWORK_NAME() {
        return WORK_NAME;
    }

    public void setWORK_NAME(String WORK_NAME) {
        this.WORK_NAME = WORK_NAME;
    }

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public String getUSER_ID() {
        return USER_ID;
    }

    public void setUSER_ID(String USER_ID) {
        this.USER_ID = USER_ID;
    }

    public String getCONENT() {
        return CONENT;
    }

    public void setCONENT(String CONENT) {
        this.CONENT = CONENT;
    }

    public Date getTIME() {
        return TIME;
    }

    public void setTIME(Date TIME) {
        this.TIME = TIME;
    }

    public Integer getWORK_ID() {
        return WORK_ID;
    }

    public void setWORK_ID(Integer WORK_ID) {
        this.WORK_ID = WORK_ID;
    }

    public Integer getPARENT_ID() {
        return PARENT_ID;
    }

    public void setPARENT_ID(Integer PARENT_ID) {
        this.PARENT_ID = PARENT_ID;
    }

    public Integer getLEVEL() {
        return LEVEL;
    }

    public void setLEVEL(Integer LEVEL) {
        this.LEVEL = LEVEL;
    }

    public Integer getSTATUS() {
        return STATUS;
    }

    public void setSTATUS(Integer STATUS) {
        this.STATUS = STATUS;
    }

    public String getBE_USER_ID() {
        return BE_USER_ID;
    }

    public void setBE_USER_ID(String BE_USER_ID) {
        this.BE_USER_ID = BE_USER_ID;
    }

    public List<Comment> getChild() {
        return child;
    }

    public void setChild(List<Comment> child) {
        this.child = child;
    }

    public String getNICKNAME() {
        return NICKNAME;
    }

    public void setNICKNAME(String NICKNAME) {
        this.NICKNAME = NICKNAME;
    }

    public String getBE_NICKNAME() {
        return BE_NICKNAME;
    }

    public void setBE_NICKNAME(String BE_NICKNAME) {
        this.BE_NICKNAME = BE_NICKNAME;
    }

    public String getHEAD_IMG_URL() {
        return HEAD_IMG_URL;
    }

    public void setHEAD_IMG_URL(String HEAD_IMG_URL) {
        this.HEAD_IMG_URL = HEAD_IMG_URL;
    }

    public String getBE_HEAD_IMG_URL() {
        return BE_HEAD_IMG_URL;
    }

    public void setBE_HEAD_IMG_URL(String BE_HEAD_IMG_URL) {
        this.BE_HEAD_IMG_URL = BE_HEAD_IMG_URL;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "ID=" + ID +
                ", USER_ID='" + USER_ID + '\'' +
                ", NICKNAME='" + NICKNAME + '\'' +
                ", HEAD_IMG_URL='" + HEAD_IMG_URL + '\'' +
                ", CONENT='" + CONENT + '\'' +
                ", TIME=" + TIME +
                ", WORK_ID=" + WORK_ID +
                ", PARENT_ID=" + PARENT_ID +
                ", LEVEL=" + LEVEL +
                ", STATUS=" + STATUS +
                ", BE_USER_ID='" + BE_USER_ID + '\'' +
                ", BE_NICKNAME='" + BE_NICKNAME + '\'' +
                ", BE_HEAD_IMG_URL='" + BE_HEAD_IMG_URL + '\'' +
                ", child=" + child +
                ", WORK_NAME='" + WORK_NAME + '\'' +
                '}';
    }
}

























